package com.it.travel.service;

import com.it.travel.vo.Params.LoginParams;
import com.it.travel.vo.Params.RegisterParams;
import com.it.travel.vo.Result;

import javax.mail.MessagingException;

public interface UserService {
        Result<?> login(LoginParams loginParams);

        Result<?> register(RegisterParams registerParams) throws MessagingException;

        Result<?> active(String code);
}
